package com.avantis.admin.service;

import com.avantis.common.entity.CommonCode;
import com.avantis.common.entity.query.CommonCodeQuery;
import org.springframework.data.domain.Page;

import java.util.List;

/**
 * @Author: tracywang
 * @Date: 2019/1/16
 * @Descrption:
 */
public interface CommonCodeService {

    List<CommonCode> findCommonCodesByCodeType(String codeType);

    Page<CommonCode> findCommonCodeCriteria(CommonCodeQuery commonCodeQuery);

    void saveCommonCode(CommonCode commonCode);
}
